Optimal. Leaf size=54 \[ -\frac {x^{-3 n} \left (\frac {b x}{a}+1\right )^{-n} \left (a x^2+b x^3\right )^n \, _2F_1\left (-n,-n;1-n;-\frac {b x}{a}\right )}{n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 54, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {2032, 66, 64} \[ -\frac {x^{-3 n} \left (\frac {b x}{a}+1\right )^{-n} \left (a x^2+b x^3\right )^n \, _2F_1\left (-n,-n;1-n;-\frac {b x}{a}\right )}{n} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 64
Rule 66
Rule 2032
Rubi steps
\begin {align*} \int x^{-1-3 n} \left (a x^2+b x^3\right )^n \, dx &=\left (x^{-2 n} (a+b x)^{-n} \left (a x^2+b x^3\right )^n\right ) \int x^{-1-n} (a+b x)^n \, dx\\ &=\left (x^{-2 n} \left (1+\frac {b x}{a}\right )^{-n} \left (a x^2+b x^3\right )^n\right ) \int x^{-1-n} \left (1+\frac {b x}{a}\right )^n \, dx\\ &=-\frac {x^{-3 n} \left (1+\frac {b x}{a}\right )^{-n} \left (a x^2+b x^3\right )^n \, _2F_1\left (-n,-n;1-n;-\frac {b x}{a}\right )}{n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 52, normalized size = 0.96 \[ -\frac {x^{-3 n} \left (x^2 (a+b x)\right )^n \left (\frac {b x}{a}+1\right )^{-n} \, _2F_1\left (-n,-n;1-n;-\frac {b x}{a}\right )}{n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.41, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (b x^{3} + a x^{2}\right )}^{n} x^{-3 \, n - 1}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b x^{3} + a x^{2}\right )}^{n} x^{-3 \, n - 1}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.50, size = 0, normalized size = 0.00 \[ \int x^{-3 n -1} \left (b \,x^{3}+a \,x^{2}\right )^{n}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b x^{3} + a x^{2}\right )}^{n} x^{-3 \, n - 1}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {{\left (b\,x^3+a\,x^2\right )}^n}{x^{3\,n+1}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int x^{- 3 n - 1} \left (x^{2} \left (a + b x\right )\right )^{n}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________